import {createRouter, createWebHistory,RouteRecordRaw} from 'vue-router'

const routes: Array<RouteRecordRaw> = [
    {
        path: '/',

        component: () => import('../views/user/userlogin.vue')
    },
    {
        path: '/logins',

        component: () => import('../views/user/logins.vue')
    },
    {
        path: '/usershow',

        component: () => import('../views/user/usershow.vue')
    },
    {
        path: '/inverstshow',

        component: () => import('../views/inverst/inverstshow.vue')
    },
    {
        path: '/userinverstshow',

        component: () => import('../views/inverst/userinverstshow.vue')
    },
    {
        path: '/inverstadd',

        component: () => import('../views/inverst/inverstadd.vue')
    },
    {
        path: '/userinversetadd/:id',
        name:"userinversetadd",
        component: () => import('../views/inverst/userinversetadd.vue')
    },
    {
        path: '/ginverstshow',
        name:"ginverstshow",
        component: () => import('../views/inverst/ginverstshow.vue')
    }

]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router